/*
 ----------------------------------------------------------------------------------
                           "THE BEER-WARE COPYRIGHT LICENSE"
                                     (Revision 43)
                                      -----------
    Rymek [rymek@rymek.org] wrote this file. As long as You retain this notice and
    this file has been sent directly to You by the author, You can do whatever You
    want with this stuff as long as You don't sell or rent it. If we meet some day,
    and You think this stuff is worth it, You can buy me a beer in return :-)
                                                                 __________
                                                                 Paweł Rymaszewski
  ----------------------------------------------------------------------------------
 */

package constants;

/**
 * Constants containing all User Interface error messages.
 *
 * @author rymek
 *         User: rymek
 *         Date: 20.05.11
 *         Time: 09:25
 */
public interface UiErrorConstants {

    // labels
    public static final String DESCR_ERR_DB = "Database access error";
    public static final String DESCR_ERR_TNS_FILE = "No server configuration file found";
    public static final String DESCR_ERR_NO_SRV_SELECTED = "No server selected";
    public static final String DESCR_ERR_NO_MSG_SELECTED = "No message selected";
    public static final String DESCR_ERR_NO_MSG_TYPE_SELECTED = "No message type selected";
    public static final String DESCR_ERR_GENERIC = "Error occured";
    public static final String DESCR_ERR_NO_RESULTS = "No results found";
    public static final String DESCR_ERR_NO_SETTINGS = "No settings file found";
    public static final String DESCR_ERR_NO_RESULT_FILE = "Result file not found";
    public static final String DESCR_ERR_NO_MATCH_FOUND = "No matching string found";

    // exception strings
    public static final String ERR_NO_SERVER_SELECTED = "No server selected!\nPlease select server from dropdown!";
    public static final String ERR_NO_MESSAGE_SELECTED = "No message selected!\nPlease selecte message from dropdown!";
    public static final String ERR_NO_MESSAGE_TYPE_SELECTED = "No message type selected!\nPlease select at least one message type for search";
    public static final String ERR_ORACLE_HOME_NOT_SET = "TNSNAMES.ORA cannot be found or is invalid.\nPlease select correct TNSNAMES.ORA file to continue";
    public static final String ERR_NO_RESULTS_FOUND = "No results were found for given search criteria";
    public static final String ERR_NO_SETTINGS = "General settings cannot be loaded - please check 'config' directory";
    public static final String ERR_NO_RESULT_FILE = "Result file not found in filesystem";
    public static final String ERR_NO_MATCHING_STRING_FOUND = "No matching string for '%1' found";
}
